package com.ship.dispatch.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ship.common.core.web.domain.JsonResult;
import com.ship.dispatch.bean.SmShipFreightCost;
import com.ship.dispatch.bean.SpShipFreightAttachments;
import com.ship.dispatch.bean.boats.CreateFreightAttachmentsRq;

import java.util.List;

public interface SpShipFreightAttachmentsService extends IService<SpShipFreightAttachments> {
    void deleteFreightAttachments(List<String> ids);

    boolean updateFreightAttachmentsById(SpShipFreightAttachments rq);

    JsonResult queryFreightAttachmentsInfo(SmShipFreightCost freightCost);

    boolean updateFreightAttachmentsUrl(CreateFreightAttachmentsRq rq);

    SpShipFreightAttachments queryFreightAttachmentsById(SpShipFreightAttachments rq);
}
